factors affecting rate of diffusion